using System;
using System.Collections.Generic;

namespace DemoApp.DataAccess 
{
  [Serializable]
  public partial class Role 
  {
    public Role()
    {
      SecurableActions = new List<SecurableAction>();
      Users = new List<User>();
    }

    public virtual Guid RoleId { get; set; } 

    public virtual string Name { get; set; } 

    public virtual bool IsAdmin { get; set; } 

    public virtual IList<SecurableAction> SecurableActions { get; set; }

    public virtual IList<User> Users { get; set; }

  }

  [Serializable]
  public partial class RoleKey
  {
    public Guid RoleId { get; set; }
  }
}
